<?php
$columns = 'onecolumn';

?>
<div class="loginbox clearfix <?php echo $columns ?>">
  <div class="loginpanel">
      <div class="subcontent loginsub">
        <?php
          if (!empty($errormsg)) {
              echo '<div class="loginerrors">';
              formerr($errormsg);
              echo '</div>';
          }
        ?>
        <form action="index.php" method="post" id="login">
          <div class="loginform">
            <div class="form-label"><label for="username"><?php print_string("username") ?></label></div>
            <div class="form-input">
              <input type="text" name="username" id="username" size="15" value="<?php p($frm->username, true) ?>" />
            </div>
            <div class="clearer"><!-- --></div>
            <div class="form-label"><label for="password"><?php print_string("password") ?></label></div>
            <div class="form-input">
              <input type="password" name="password" id="password" size="15" value="" />
              <input type="submit" value="<?php print_string("login") ?>" />
              <input type="hidden" name="testcookies" value="1" />
            </div>
            <div class="clearer"><!-- --></div>
          </div>
        </form>
      </div>